package com.ptswitch.material.service;

import org.hxzon.project.ModelService;

import com.ptswitch.material.model.material.Bom;

public interface BomService extends ModelService<Bom> {
    public static final int Init_BomMaterials = 1 << 1;

    public Bom findById(String id, int init);

    public Bom findByCodeAndVersion(String code, String version);

    public void update(Bom oldModel, Bom newModel);

    public void saveEx(Bom model);

//	public List<Bom> findAll(boolean initialize);

}
